package dao

import "go.web.demo.com/api/entity"

// QueryActivityById 根据id查询
func QueryActivityById(id int64) *entity.Activity {
	a := entity.Activity{}
	QueryById(&a, id, "biz_activity")
	return &a
}
